var startDate = new Date(1900,0,1)
var endDate = new Date(2050,0,1)


$("#sjrq").datetimepicker({
  format: "yyyy-mm-dd",
  startView: 2,
  minView: 2,
  startDate: startDate,
  endDate: endDate
});

$("#sjrq").datetimepicker("setStartEndDate",startDate,endDate);

$("#sjrq").datetimepicker("setEndDate",endDate);

$('#sjrq').datetimepicker({startDate:false})

$("#sjrq").val()
